﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ProjectBase.Core.PersistenceSupport;
using ProjectBase.Core;

namespace SLSYJ.Core
{
    public class Sector : PersistentObject
    {
        protected  Sector() { }

        public Sector(string name)
        {
            Check.Require(!String.IsNullOrEmpty(name), "name may not be null or empty");
            Name = name;
        }

        [DomainSignature]
        public virtual string Name { get; set; }

        protected override string GetDomainObjectSignature()
        {
            return Name;
        }
    }
}
